<%@page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%@include file="/WEB-INF/jsp/inc/title.jsp"%></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link href="style/style.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" type="text/css"
	href="http://ajax.pupkk.com/dojo/1.7.5/dojo/resources/dojo.css" />

<link rel="stylesheet" type="text/css"
	href="http://ajax.pupkk.com/dojo/1.7.5/dijit/themes/tundra/tundra.css" />

<script
	src="http://ajax.pupkk.com/dojo/1.7.5/dojo/dojo.js"
	djConfig="parseOnLoad:true">
	
</script>

<script type="text/javascript">
	//dojo.djConfig("dojoBlankHtmlUrl=dojo/resources/blank.html");
	dojo.require("dojo.parser");
	dojo.require("dijit.form.DateTextBox");
	dojo.require("dijit.form.TimeTextBox");
	dojo.require("dijit.form.Button");
	dojo.require("dojo.io.iframe");
	dojo.require("dijit.form.FilteringSelect");
	dojo.require("dijit.form.CheckBox");
	function closachannelapp()
	{
		 var bgObj = document.getElementById("bgDiv"); 
		 var msgObj = document.getElementById("msgDiv");
		msgObj.style.display="none";
	    bgObj.style.display="none";
	}
</script>

<script type="text/javascript" charset="utf-8">
	<%@include file="/WEB-INF/js/_ajax.js" %>
	<%@include file="/WEB-INF/js/_page.js" %>
	<%@include file="/WEB-INF/js/_sorttable.js" %>
	<%@include file="/WEB-INF/js/_util.js" %>
	<%@include file="/WEB-INF/js/jquery-1.7.2.min.js" %>
</script>
</head>
<body class="tundra">
	<div id="msgDiv" style="display:none;"></div>
  <div id="bgDiv" style="display:none;" onclick="closachannelapp();"></div>
	<div id="container"></div>
	<script type="text/javascript">
		window.onload = function() {
			var url = "sl/init.do";
			var content = "";
			var account = "";
	<%com.auth.model.Account account = (com.auth.model.Account) session
					.getAttribute("account");
			if (account != null) {%>
    account = "<%=account.getId()%>";
    <%}%>
			if
	 (account != null && account != "null" && account != "") {
				url = "sl/login.do";
				content = "";
			}
			var objectid = "container";
			sendXMLHttpRequest(url, content, objectid);
		};
	</script>
</body>
</html>